﻿using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace AppFramework.DinosaursParkMes.Process.DTO
{
    public class ProcessDTO
    {
        public int Id { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        [Required]
        public string Processname { get; set; }

        /// <summary>
        /// 工序编号
        /// </summary>
        [Required]
        public string Processcode { get; set; }

        /// <summary>
        /// 工序状态
        /// </summary>
        [Required]
        public string Processstate { get; set; }

        /// <summary>
        /// 工序说明
        /// </summary>
        public string Processexplain { get; set; }

        /// <summary>
        /// 工序备注
        /// </summary>
        public string Processremark { get; set; }

    }

    public class ProcessDTOs
    {
        public int pageindex { get; set; } = 1;
        public int pagesize { get; set; } = 10;
        public string ProcessnameCode { get; set; } = "";
        public string Processstate { get; set; } = "";
    }

    public class ProcessAdd
    {
        /// <summary>
        /// 工序名称
        /// </summary>
        [Required]
        public string Processname { get; set; }

        /// <summary>
        /// 工序状态
        /// </summary>
        [Required]
        public string Processstate { get; set; }

        /// <summary>
        /// 工序说明
        /// </summary>
        public string Processexplain { get; set; }

        /// <summary>
        /// 工序备注
        /// </summary>
        public string Processremark { get; set; }
    }
}
